<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<html>
<head>
<base href="<%=basePath%>">
<style>
.wr{font-size: 12pt; line-height: 22px}
.wr1 {	FONT-SIZE: 12px; LINE-HEIGHT: 200%}
.wr2 {	FONT-SIZE: 14px; LINE-HEIGHT: 200%}
.wr3 {	FONT-SIZE: 12px}
.wr4 {	FONT-SIZE: 12px; LINE-HEIGHT: 150%}
</style>
<title>学校内部工资管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<%Integer grade = (Integer)session.getAttribute("grade"); %>
<body bgcolor="#FFFFDB" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
	<table width="160" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td>&nbsp;</td>
	    <td width="12">&nbsp;</td>
	  </tr>
	  <tr> 
	    <td background="images/ht04.jpg" class="wr4"> 
	      <div align="center">用 户 管 理</div>
	    </td>
	    <td width="12"><img src="images/ht03.jpg" width="12" height="20"></td>
	  </tr>
	</table>
	<table width="160" border="0" cellspacing="0" cellpadding="2">
	<%if (grade == 5) { %>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="UserActionshowUser" target="mainFrame">登录用户管理</a></td>
	  </tr>
	  <%} %>
	  <%if (grade == 5 || grade == 1 || grade == 2) { %>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="StaffinfoActionshowStaffinfo" target="mainFrame">教职工信息管理</a></td>
	  </tr>
	<%} %>
	<%if (grade == 4 || grade == 5) { %>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="StaffinfoActionshowPersonal?workid=${workid }" target="mainFrame">查看个人信息</a></td>
	  </tr>
	<%} %>
	  <tr> 
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120">&nbsp;</td>
	  </tr>
	</table>
<table width="160" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td background="images/ht06.jpg" class="wr4"> 
      <div align="center">工 资 管 理</div>
    </td>
    <td width="12"><img src="images/ht05.jpg" width="12" height="20"></td>
  </tr>
</table>
<table width="160" border="0" cellspacing="0" cellpadding="2">
  <%if (grade == 5 || grade == 3 || grade == 1 || grade == 2) { %>
  <tr> 
    <td width="40">&nbsp;</td>
    <td class="wr4" width="120"><a href="SalaryActionshowSalaryinfo" target="mainFrame">查看工资信息</a></td>
  </tr>
  <%} %>
  <%if (grade == 5 || grade == 1) { %>
  <tr> 
    <td width="40">&nbsp;</td>
    <td class="wr4" width="120"><a href="SalaryActiontoAddSalaryinfo" target="mainFrame">发送工资信息</a></td>
  </tr>
  <%} %>
  <%if (grade == 4 || grade == 5) { %>
  <tr> 
    <td width="40">&nbsp;</td>
    <td class="wr4" width="120"><a href="SalaryActionshowSalaryinfoPersonal?workid=${workid }" target="mainFrame">个人工资信息</a></td>
  </tr>
  <%} %>
  <tr> 
    <td width="40">&nbsp;</td>
    <td class="wr4" width="120">&nbsp;</td>
  </tr>
</table>
	<table width="160" border="0" cellspacing="0" cellpadding="0">
	  <tr> 
	    <td background="images/ht08.jpg" class="wr4"> 
	      <div align="center">申 诉 管 理</div>
	    </td>
	    <td width="12"><img src="images/ht07.jpg" width="12" height="20"></td>
	  </tr>
	</table>
	<table width="160" border="0" cellspacing="0" cellpadding="2">
	<%if (grade == 1 || grade == 2 || grade == 5) { %>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="ComplaintActionshowComplaints" target="mainFrame">查看申诉信息</a></td>
	  </tr>
	  <%} %>
	  <%if (grade == 4 || grade == 5) { %>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="ComplaintActionshowComplaintPersonal?workid=${workid }" target="mainFrame">个人申诉信息</a></td>
	  </tr>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="ComplaintActiontoAddComplaint?workid=${workid }" target="mainFrame">提交申诉异议</a></td>
	  </tr>
	  <%} %>
	  <tr> 
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120">&nbsp;</td>
	  </tr>
	</table>
	<table width="160" border="0" cellspacing="0" cellpadding="0">
	  <tr> 
	    <td background="images/ht04.jpg" class="wr4"> 
	      <div align="center">站 内 信</div>
	    </td>
	    <td width="12"><img src="images/ht03.jpg" width="12" height="20"></td>
	  </tr>
	</table>
	<table  width="160" border="0" cellspacing="0" cellpadding="2">
	<%if (grade == 5) { %>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="MessageActionshowMessages" target="mainFrame">站内信管理</a></td>
	  </tr>
	   <%} %>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="MessageActionshowMessageSend?sender=${workid }" target="mainFrame">&nbsp;发件箱</a></td>
	  </tr>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="MessageActionshowMessageReceive?receiver=${workid }" target="mainFrame">&nbsp;收件箱</a></td>
	  </tr>
	  <tr>
	    <td width="40">&nbsp;</td>
	    <td class="wr4" width="120"><a href="MessageActiontoWriteMessage" target="mainFrame">&nbsp;写消息</a></td>
	  </tr>
	  <tr>
	    <td class="wr4">&nbsp;</td>
	    <td width="12">&nbsp;</td>
	  </tr>
	</table>
	
<table width="160" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="images/ht08.jpg" class="wr4"> 
      <div align="center"><a href="" target="_parent" >重新登录</a></div>
    </td>
    <td width="12"><img src="images/ht07.jpg" width="12" height="20"></td>
  </tr>
</table>
</body>
</html>